package com.web;

import com.pojo.Swiper_x;
import com.service.SwiperService_x;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("swiper")
public class SwiperController_x {
    @Autowired
    private SwiperService_x swiperServiceX;
    @RequestMapping("select")
    public List<Swiper_x> selectAll(){
        return swiperServiceX.selectAll();
    }
}
